package com.qf.mapper;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    public List<User> findUserAll();
    public User findUserById(@Param("id") Integer id);
    public List<User> findUserByName(String name);
    public void insertUser(User user);
    public void updateUser(User user);
    public void deleteUser(Integer id);
    public List<User> userAndUserDesc();
    public List<User> userAndOrder();
    public List<User> userAndOrderAndProduct();
    public List<User> findUserByIdAndName(String name,String sex);
}
